﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Uaf.Core
{
	/// <summary>
	/// Commom interface for service container
	/// </summary>
	public interface IContainer
	{
		void Register<T>(T instance);
		void Register<T>(T instance, string name);
		T Resolve<T>();
		T Resolve<T>(string name);
		IEnumerable<T> ResolveAll<T>();
	}
}
